package com.itheima.day02_datatype;

import java.util.Scanner;

public class Demo10_Scanner {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入您的年龄：");
        int age = scanner.nextInt();
        System.out.println("age = " + age);

        System.out.println("请输入人您的姓名：");
        String name = scanner.next();
        System.out.println("name = " + name);
    }
}
